package com.qifn.blog.Service.impl;

import com.qifn.blog.Dao.AdminDao;
import com.qifn.blog.Model.Admin;
import com.qifn.blog.Service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    AdminDao adminDao;

    @Override
    public Admin CheckAdminLogin(String username, String password) {
        return adminDao.getAdmin(username,password);
    }
}
